﻿using System;
using System.Data;
using System.Windows.Forms;
using log4net;

namespace FreeBitExcel.views
{
    public partial class ExcelContentForm : Form
    {
        public ILog Logger => this.GetLogger();
        public DataSet DataSet;
        public String TabName;

        public ExcelContentForm()
        {
            InitializeComponent();
        }


        private void ExcelContentForm_Load(object sender, EventArgs e)
        {
            dataGridView1.AutoGenerateColumns = true;
            dataGridView1.DataSource = DataSet; // dataset
            dataGridView1.DataMember = TabName;
        }
    }
}
